<template>
<div>
  <mt-button type="default">default</mt-button>
</div>
</template>

<script>
  import {HomeSvr} from './homeSvr'
  export default {
    name: "home",
    methods: {
      getData () {
        HomeSvr.getMusic().then(res => {
          console.log(res)
        })
      }
    },
    mounted () {
      this.getData()
    }
  }
</script>

<style lang="scss" scoped>
.header {
  width: 100px;
  height: 100px;
}
</style>
